package com.newzqxq.koalamoney.ui.activity;

import android.content.Intent;
import android.widget.TextView;

import com.newzqxq.koalamoney.R;
import com.newzqxq.koalamoney.common.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 我的 - 设置
 */
public class SettingActivity extends BaseActivity {

    @BindView(R.id.title_mid_tv)
    TextView title_mid_tv;

    @Override
    protected int getContentViewId() {
        return R.layout.ui_setting;
    }

    @Override
    protected void initData() {

    }

    //title
    private void setTitle() {
        title_mid_tv.setText(R.string.setting);
    }

    //关闭当前
    @OnClick(R.id.title_relative_back)
    void ShutDown() {
        finish();
    }

    /**
     * 安全设置
     */
    @OnClick(R.id.setting_securitySet)
    void SecuritySet() {
        startActivity(new Intent(this, SecuritySetActivity.class));
    }

    /**
     * 服务热线
     */
    @OnClick(R.id.my_customer_service)
    void CustomerService() {
    }

    /**
     * 账号
     */
    @OnClick(R.id.setting_account)
    void Account() {
        startActivity(new Intent(this, AccountActivity.class));
    }

    @Override
    protected void initView() {
        setTitle();
    }

    @Override
    protected void initListener() {

    }

    @Override
    protected void clearMemory() {

    }
}
